package com.cyl.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("power_bank")
public class PowerBank {

    //ID
    @TableId(type = IdType.AUTO)
    private Integer id;

    //站点id
    private String siteId;

    //用户id
    private String userId;

    //充电宝品牌
    private String brand;

    //充电宝图片
    private String img;


    //充电宝名称
    private String name;

    //审核状态
    private Boolean state;

    //创建时间
    private LocalDate createTime;

    //更新时间
    private LocalDate updateTime;

}
